package cn.chencaiju.exam.oop;

public class Teacher {
	private String name;
	private int age;
	private String content;
	
	public void eat() {
		System.out.printf("年龄为%d的%s老师正在吃饭...\n",age,name);
	}
	public void teach() {
		System.out.printf("年龄为%d的%s老师正在亢奋的讲着“%s”。。。\n",age,name,content);
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Teacher() {
		super();
	}
	public Teacher(String name, int age, String content) {
		super();
		this.name = name;
		this.age = age;
		this.content = content;
	}
}
